package com.bd.lrb_z.mapper;

import com.bd.lrb_z.entity.Verify;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface VerifyMapper {


    @Insert("insert into verify values(null,#{verify})")
    void insert(Verify v);

    @Select("select verify from verify where id = #{vcid}")
    int select(int vcid);

    @Select("select count(*) from verify where verify = #{vc}")
    int selectNum(int vc);





}
